load("@rules_cc//cc:defs.bzl", "cc_library")

package(default_visibility = ["//visibility:public"])

cc_library(
    name = "boost.mpl",
    hdrs = glob(
        [
            "include/**/*.hpp",
        ],
        exclude = glob([
            "include/boost/mpl/aux_/*.hpp",
            "include/boost/mpl/aux_/**/*.hpp",
            "include/boost/mpl/*/aux_/*.hpp",
            "include/boost/mpl/*/aux_/**/*.hpp",
        ]) + [
            "include/boost/mpl/alias.hpp",
        ],
    ),
    includes = ["include"],
    features = [
        "parse_headers",
    ],
    textual_hdrs = glob([
        "include/boost/mpl/aux_/*.hpp",
        "include/boost/mpl/aux_/**/*.hpp",
        "include/boost/mpl/*/aux_/*.hpp",
        "include/boost/mpl/*/aux_/**/*.hpp",
    ]) + [
        "include/boost/mpl/alias.hpp",
    ],
    deps = [
        "@boost.config",
        "@boost.core",
        "@boost.predef",
        "@boost.preprocessor",
        "@boost.static_assert",
        "@boost.type_traits",
        "@boost.utility",
    ],
)
